Skip to content

fix: withhold telemetry counts under ten, zero included - #74

Merged
thebenignhacker merged 1 commit into
mainfrom
integrate/2026-11-02-b
Nov 3, 2026
Merged

thebenignhacker merged 1 commit into
mainfrom
integrate/2026-11-02-b

Conversation

@thebenignhacker

Copy link
Copy Markdown
Contributor

This pull request lands 1 commit in lib/, pages/, scripts/ and test/.

Included

  • fix: withhold telemetry counts under ten, zero included

Verified on this exact tree

  • npm ci --no-audit --no-fund (Node 24.17.0): exit 0, added 205 packages
  • node --test --test-concurrency=4 test/*.test.js (19 test files): tests 271, pass 271, fail 0, cancelled 0, skipped 0, todo 0
  • npm run build: exit 0, compiled successfully, static pages 3/3
  • git status --porcelain after the test and build runs: no output
  • package.json scripts: no lint, typecheck or changelog script is defined

Not included

None

Closes

None

How to merge

Rebase and merge, so that each change stays its own commit on main.

A first-party telemetry count from 0 to 9 is withheld. The collector stores
it as NULL, never as the column's old DEFAULT 0. /api/telemetry keeps the
row, serves null, and states the rule in a withheld descriptor. The
dashboard reads "fewer than 10" where the number would be. A withheld cell
is never shown as 0, never dropped, never sorted as if it held a value, and
never taken into a change figure or the top-version pick. The summary
publishes a withheld count as null, and the badge and the collector's log
line carry floored figures only.

The telemetry count columns become nullable. scripts/floor-telemetry-counts.js
rebuilds an older store with nullable counts in one transaction, sets every
stored count under ten to NULL, and rebuilds the file so no replaced value
remains in free pages. setup-database.js and the collector run it on every
collection. Run on its own, it also rewrites the summary's telemetry block.
@vercel

vercel Bot commented Nov 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
github-analytics-tracker Ready Ready Preview Nov 3, 2026 6:43am UTC

Request Review

@thebenignhacker
thebenignhacker merged commit 84f3738 into main Nov 3, 2026
3 checks passed
@thebenignhacker
thebenignhacker deleted the integrate/2026-11-02-b branch November 3, 2026 06:46

This branch was successfully deployed

1 active deployment
Preview — 401779c5 Deployed Nov 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant